package Teamdomain;

/**
 * @program: Demo2
 * @description:
 * @author: Yan Guang
 * @create: 2020-04-23 10:57
 */
public class NoteBook implements Equipment {
    private String model;
    private double prince;

    public NoteBook(String model, double prince) {
        super();
        this.model = model;
        this.prince = prince;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public double getPrince() {
        return prince;
    }

    public void setPrince(double prince) {
        this.prince = prince;
    }

    public String getDeDescription(){
        return model+"("+ prince +")";
    }
}
